﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Green.AgileMapper.Test
{
    public class StudenDo
    {
        public int ID
        {
            get;
            set;
        }
        [Green.ObjectPickUper.IgnorePickUp()]
        public string Name
        { get; set; }

        public Sex Sex
        { get; set; }

        public Address Address
        { get; set; }
        
        [Green.ObjectPickUper.ObjectPickUper(IsPlanePick=false)]
        public ContactWay ContactWay
        { get; set; }

        public List<string> CourseIds
        { get; set; }

        [Green.ObjectPickUper.CollectionPickUper()]
        public IList<KeyValuePair> Propertys
        { get; set; }

        public TestBase Test { get; set; }

        public List<TestBase> Tests { get; set; }

    }

    
    public  class TestBase
    {
        public int Id { get; set; }
    }

    public  class  Test1:TestBase
    {
        public string Property1 { get; set; }
    }

    public  class  Test2:TestBase
    {
        public string Property2 { get; set; }
    }

    public class KeyValuePair
    {
        public string Key
        { get; set; }

        public string Value
        { get; set; }
    }

    public enum Sex
    {
        男, 女
    }
}
